package cn.itcast.mq.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "hm")
public class PublisherProperties {

   private String username ;
   private String password ;

}
